LATEX = pdflatex -interaction=nonstopmode -file-line-error-style -halt-on-error

all: journey.pdf

journey.pdf: journey.tex glossary.tex
	${LATEX} journey | tail
	makeindex -s journey.ist -o journey.gls journey.glo
	${LATEX} journey | tail
	rm -f *.ist *.acn *.acr *.aux *.bbl *.blg *.glo *.gls *.idx *.ilg *.ind *.log *.out *.toc

clean:
	rm journey.pdf
